<?php
if (!defined('IN_XLP')) {
    exit('Access Denied');
}
$Document = array(
    'pageid' => 'service-charge', //页面标示
    'pagename' => '', //当前页面名称
    'mycss' => array('index/common','index/style'), //加载的css样式表
    'myjs' => array('global/jquery-1.9.0.min','global/layer/layer','global/jquery.cookie'), //加载的js脚本
    'footerjs'=>array(),
    'head'=>true//是否加载头部文件
);
include getTpl('header', 'public');
?>
<body>
<div class="contact-wrap">
<?php include getTpl('small_top' , 'public'); ?>
<div class="content">
    <?php include getTpl('top' , 'public'); ?>
</div>
<div class="content contact-main">
    <div class="zx_wr">
        <h2 style="margin-left: 99px;"><span>就是干游戏咨询</span> &nbsp; > &nbsp;<a href="<?php echo U('service/active') ?>">最新活动信息</a></h2>
        <div>
            <?php include getTpl('left_nav' , 'public'); ?>
            <div class="z_detail">
                <h2><svg t="1536215164958" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2919" xmlns:xlink="http://www.w3.org/1999/xlink" width="15" height="15"><defs><style type="text/css"></style></defs><path d="M512 0C229.2736 0 0 229.2736 0 512s229.2736 512 512 512 512-229.2736 512-512S794.7264 0 512 0zM364.6464 647.5776h-49.0496L200.4992 462.848v184.832h-51.0976V365.568h48.64l115.2 185.856V365.568h51.4048v282.0096zM551.936 417.9968h-93.184v50.7904h93.184v52.1216h-93.184v74.24h93.184v52.5312H409.088V365.568H551.936v52.4288z m276.48 229.5808h-47.616l-48.3328-182.3744-46.8992 182.3744H637.952L579.1744 365.568h49.0496l37.7856 180.224 46.1824-180.224h41.2672l47.616 180.224 37.0688-180.224h49.0496L828.416 647.5776z" p-id="2920"></path></svg>最新活动信息</h2>
                <div>
                    <div>
                        <ul class="info_list">
                            <?php if(isHave($list)){ ?>
                            <?php foreach ($list as $k => $v): ?>
                                <li>
                                    <a href="<?php echo U('service/active_detail',array('id'=>$v['id'])) ?>">
                                        <span><?php echo $v['title']?></span>
                                        <b><?php echo outTime($v['infotime'] , 4) ?></b>
                                    </a>
                                </li>
                            <?php endforeach ?>
                            <?php } ?>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php include getTpl('footer', 'public');  ?>
<?php include getTpl('login', 'public'); ?>
</div>
</body>
</html>